package com.bcdat.sso_user_management.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * @author zhaolele
 * @date 2019-09-25 11:25
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class CasUser implements Serializable {
    private String id;
    @JsonProperty("@class")
    private String clazz = "org.apereo.cas.authentication.principal.SimplePrincipal";
    private Map<String, Object> attributes = new HashMap<>();
}
